package com.bbs.detai1713.dao;

import com.bbs.detai1713.dao.entity.TBoard;
import com.bbs.detai1713.model.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BoardMapper {
    int createBoard(CreateBoard createBoard);

    List<TBoard> selectBoard(SelectBoard selectBoard);

    int deleteBoard(DeleteBoard deleteBoard);

    int updateBoard(UpdateBoard updateBoard);
}
